﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._09_组合模式
{
    /// <summary>
    /// 产品组件接口
    /// </summary>
    public interface IProductComponent
    {
        void Display(int depth = 0);

        decimal GetPrice();

    }
}
